package com.ren.dao;

import com.ren.entity.User;

import java.util.Map;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);



    User selectByUserNameAndPwd(Map<String, Object> params);

    User selectUserByUserName(String username);
}